<% if category %>
  <h2> Selected category is <%= category.name %> </h2>
<% else %>
  Category not found
<% end %>